package cn.sciento.onelink.sim.data.usage;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class SimDataUsageResult {
    private String dataAmount;
    @JsonProperty("apnUseAmountList")
    private List<ApnUseAmount> apnUseAmount;
    @Data
    public static class ApnUseAmount{
        private String apnName;
        private String apnUseAmount;
        @JsonProperty("pccCodeUseAmountList")
        private List<PccCodeUseAmount> pccCodeUseAmount;
        @Data
        public static class PccCodeUseAmount{
            private String pccCode;
            private String pccCodeUseAmount;
        }
    }
}
